package com.yao.mall.service;

import com.yao.mall.model.entity.GoodsSku;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yao.mall.model.vo.GoodsSkuVO;
import com.yao.mall.model.vo.SkuImageVO;
import com.yao.mall.model.vo.SpecsVO;

import java.util.List;

/**
* @author jiahua.yao
* @description 针对表【goods_sku】的数据库操作Service
* @date 2024-03-10 20:41:12
*/
public interface GoodsSkuService extends IService<GoodsSku> {

    /**
     * 查看某个商品的规格信息
     * @param spuId spuId
     * @param keyIds 属性id的list
     * @param skuImageVOList 默认的sku照片
     * @return goodsSkuVO
     */
    List<GoodsSkuVO> getGoodsSku(Long spuId, List<Long> keyIds, List<SkuImageVO> skuImageVOList);
}
